Upload image with ajax and PHP
Iamtryingtocreateapossibilityforusersto1)selectanimageusinganinputfield-->theimageisdisplayedinapreviewboxbythefunctionreadURL-- ...,OntheuploadbuttonclickgettheselectedfileandcreateaFormDataobject.AppendfileinFormDataobject.SendanAJAXrequestwher...。參考影片的文章的如下: